home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HamCall (October 1991)
/
HamCall (Whitehall Publishing)(1991).bin
/
bcast
/
bcstcble
/
vth.bas
< prev
next >
Wrap
BASIC Source File
|
1990-10-14
|
1KB
|
31 lines
10 ' VTH.BAS will calculate an op amp's input dynamic range.
20 ' Inputs are slew rate in volts/usec, and gain-bandwidth product, in mHz
30 ' W. Jung 07/11/1987
40 '
50 ' Reference: W. Jung, AUDIO IC OP AMP APPLICATIONS, 3d EDITION, 1986
60 ' (second chapter)
70 ' H.W. Sams & Co., Indianapolis IN, 46268 (1-800-428-3602)
80 '
90 'CLS
100 PRINT:PRINT:PRINT
110 PRINT "This program calculates an op amp input dynamic range, 'Vth'."
120 PRINT:PRINT "Vth will be in volts when SR (slew rate) is in V/us and "
130 PRINT "GBP (gain-bandwidth product) is in megahertz. (It is"
140 PRINT "assumed that the op amp in question has a -6dB/octave rolloff)"
150 PRINT
160 PRINT "For example, the popular 356 op amp has a SR of 12V/us,"
170 PRINT "and a GBP of 4.5mHz. What is its Vth? "
180 PRINT:PRINT "Answer and see!"
190 PRINT:PRINT:PRINT:PRINT:PRINT
200 INPUT "Op amp slew rate (V/us) "; A
210 INPUT "Op amp GBP (mHz) "; B
220 PI=3.14
230 C=(A/B)/(2*PI)
240 PRINT:PRINT:PRINT
250 PRINT"This device's Vth is";:PRINT USING " #.##";C;:PRINT " volts"
260 PRINT:PRINT:PRINT:PRINT:PRINT:PRINT
270 INPUT"AGAIN ";A$:IF LEFT$(A$,1)="Y" THEN GOTO 10 ELSE END
300 ' USED WITH PERMISSION OF AV-SYN (TBS) BBS
310 ' PHONE 404/320-6202
320 ' BILL TULLIS IS SYSOP
JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ